package ro.myApp.esb.messages;

import java.io.Serializable;

import ro.myApp.commons.dto.BaseDtoMessage;

public abstract class EsbMessage implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 354671247810786430L;

	private String userName;

	private BaseDtoMessage wrappedMessage;

	private Object replyMessage;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public BaseDtoMessage getWrappedMessage() {
		return wrappedMessage;
	}

	public void setWrappedMessage(BaseDtoMessage wrappedMessage) {
		this.wrappedMessage = wrappedMessage;
	}

	public Object getReplyMessage() {
		return replyMessage;
	}

	public void setReplyMessage(Object replyMessage) {
		this.replyMessage = replyMessage;
	}

	public EsbMessage(BaseDtoMessage wrappedMessage) {
		this.wrappedMessage = wrappedMessage;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString();
	}
}
